﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebTest.WebApi.Models
{
    public class MemberSignInModel
    {
        public string UserName { get; set; }
        public string Password { get; set; }
        public MemberSignInModel(string username,string password)
        {
            UserName = username ?? throw new ArgumentNullException($"{nameof(username)} 不能为空.");
            Password = password ?? throw new ArgumentNullException($"{nameof(password)} 不能为空.");
        }
    }
}
